/*    */ package com.jcrj.listener;
/*    */ 
/*    */ import com.jcrj.entity.OUser;
/*    */ import javax.servlet.http.HttpSessionBindingEvent;
/*    */ import javax.servlet.http.HttpSessionBindingListener;
/*    */ 
/*    */ public class UserListener
/*    */   implements HttpSessionBindingListener
/*    */ {
/*    */   private OUser userInfo;
/* 11 */   private UserInfo info = UserInfo.getIntance();
/*    */ 
/*    */   public void valueBound(HttpSessionBindingEvent event) {
/*    */   }
/*    */   public void valueUnbound(HttpSessionBindingEvent event) {
/* 16 */     if (this.userInfo != null)
/* 17 */       this.info.removeUser(this.userInfo);
/*    */   }
/*    */ 
/*    */   public OUser getUserInfo()
/*    */   {
/* 22 */     return this.userInfo;
/*    */   }
/*    */ 
/*    */   public void setUserInfo(OUser userInfo) {
/* 26 */     this.userInfo = userInfo;
/*    */   }
/*    */ }

/* Location:           /Volumes/work/oa/WEB-INF/classes/
 * Qualified Name:     com.jcrj.listener.UserListener
 * JD-Core Version:    0.6.0
 */